package com.uzai.console.entity;

import com.uzai.common.entity.BaseEntity;

/**
 * 红包数据库
 * 
 * @author liuqi
 * @email sunlightcs@gmail.com
 * @date 2021-09-04 10:40:53
 */
public class RedPacket extends BaseEntity {

	private static final long serialVersionUID = -2613582018630818841L;

	/**
	 * 运营商id
	 */
	private Long merId;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 设备唯一id
	 */
	private Long deviceUniqueId;
	/**
	 * 设备类型
	 */
	private String deviceType;
	/**
	 * 提现id
	 */
	private Long userTakebalId;
	/**
	 * 商户交易号(暂时无用)
	 */
	private String tradeno;
	/**
	 * 红包金额
	 */
	private Double money;
	/**
	 * 红包类型 0注册赠送 1首次查券赠送 2首次下单赠送 3用户申请提现 4公众号关注 5人工发送
	 */
	private Integer type;
	/**
	 * 状态 0未领取 1已领取 2领取中 3作废
	 */
	private Integer status;
	/**
	 * 领取用户的微信OPENID
	 */
	private String openId;
	/**
	 * 账房appId
	 */
	private String zfAppId;

	/**
	 * 群红包对应的群wxid
	 */
	private String wxGroupId;

	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 
	 */
	private Integer version;
	/**
	 * 领取时间
	 */
	private Integer receiveTime;
	/**
	 * 扩展信息
	 */
	private String extInfo;

	/**
	 * 手动发送红包的模板id
	 */
	private Long templateId;

	/**
	 * 红包类型（0-红包卡片；1-微信红包）
	 */
	private Integer model;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getMerId() {
		return merId;
	}

	public void setMerId(Long merId) {
		this.merId = merId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDeviceUniqueId() {
		return deviceUniqueId;
	}

	public void setDeviceUniqueId(Long deviceUniqueId) {
		this.deviceUniqueId = deviceUniqueId;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public Long getUserTakebalId() {
		return userTakebalId;
	}

	public void setUserTakebalId(Long userTakebalId) {
		this.userTakebalId = userTakebalId;
	}

	public String getTradeno() {
		return tradeno;
	}

	public void setTradeno(String tradeno) {
		this.tradeno = tradeno;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getZfAppId() {
		return zfAppId;
	}

	public void setZfAppId(String zfAppId) {
		this.zfAppId = zfAppId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(Integer receiveTime) {
		this.receiveTime = receiveTime;
	}

	public String getExtInfo() {
		return extInfo;
	}

	public void setExtInfo(String extInfo) {
		this.extInfo = extInfo;
	}

	public Long getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}

	public String getWxGroupId() {
		return wxGroupId;
	}

	public void setWxGroupId(String wxGroupId) {
		this.wxGroupId = wxGroupId;
	}

	public Integer getModel() {
		return model;
	}

	public void setModel(Integer model) {
		this.model = model;
	}
}
